from scipy.io  import loadmat as load



traindata= load('train_32x32.mat')
testdata= load('test_32x32.mat')
# extradata= load('extra_32x32.mat')

print traindata['X'].shape
print traindata['y'].shape

print testdata['X'].shape
print testdata['y'].shape